-
Home
-
WPForms – Easy Form Builder for WordPress – Contact Forms, Payment Forms, Surveys, & More
-
1.9.1.6
-
Code
-
Classes
- Payment
Total Complexity |
49 |
Dependencies |
1 |
Dependents |
0 |
Total lines |
518 |
Lines of code |
235 |
Logical lines of code |
97 |
Comment lines |
199 |
Methods |
16 |
Properties |
0 |
Methods 16
Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
add_columns_where_conditions() |
A |
47 |
9 |
36 |
cast_amounts_to_float() |
S |
64 |
6 |
9 |
update() |
S |
62 |
5 |
10 |
get_payments() |
S |
55 |
3 |
17 |
add() |
S |
67 |
4 |
7 |
get() |
S |
67 |
4 |
7 |
current_user_can() |
S |
63 |
4 |
10 |
create_table() |
S |
52 |
1 |
37 |
add_secondary_where_conditions() |
S |
56 |
2 |
19 |
delete() |
S |
66 |
3 |
8 |
sanitize_get_payments_args() |
S |
59 |
2 |
15 |
get_columns() |
S |
54 |
1 |
23 |
get_column_defaults() |
S |
54 |
1 |
23 |
get_by() |
S |
74 |
2 |
4 |
__construct() |
S |
71 |
1 |
6 |
get_table_name() |
S |
76 |
1 |
4 |